package com.zit.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields
	private Integer id;
	private Berth berth;
	private Classes classes;
	private String name;
	private Date createTime=new Date();
	private Integer isDelete=0;
	private String remark=null;
	private Integer gender;
	private Integer age;
	private String phone;
	private String addr;
	private Integer status=0;
	private Set changeclasseses = new HashSet(0);
	private Set stopstudies = new HashSet(0);
	private Set scores = new HashSet(0);

	// Constructors

	/** default constructor */
	public Student() {
	}

	/** minimal constructor */
	public Student(String name, Integer gender, Integer age) {
		this.name = name;
		this.gender = gender;
		this.age = age;
	}
	
	/** minimal constructor */
	public Student(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Student(Berth berth, Classes classes, String name, Date createTime,
			Integer isDelete, String remark, Integer gender, Integer age,
			String phone, String addr, Integer status, Set changeclasseses,
			Set stopstudies, Set scores) {
		this.berth = berth;
		this.classes = classes;
		this.name = name;
		this.createTime = createTime;
		this.isDelete = isDelete;
		this.remark = remark;
		this.gender = gender;
		this.age = age;
		this.phone = phone;
		this.addr = addr;
		this.status = status;
		this.changeclasseses = changeclasseses;
		this.stopstudies = stopstudies;
		this.scores = scores;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Berth getBerth() {
		return this.berth;
	}

	public void setBerth(Berth berth) {
		this.berth = berth;
	}

	public Classes getClasses() {
		return this.classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddr() {
		return this.addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Set getChangeclasseses() {
		return this.changeclasseses;
	}

	public void setChangeclasseses(Set changeclasseses) {
		this.changeclasseses = changeclasseses;
	}

	public Set getStopstudies() {
		return this.stopstudies;
	}

	public void setStopstudies(Set stopstudies) {
		this.stopstudies = stopstudies;
	}

	public Set getScores() {
		return this.scores;
	}

	public void setScores(Set scores) {
		this.scores = scores;
	}

}